const mongoose = require("mongoose");

const User = new mongoose.Schema({
    qq_account:{
        type:String,
        required:true,
        select:true
    },
    nick_name:{
        type:String,
        required:true,
        select:true
    },
    line_status:{
        type:String,
        default:"online",
        select:true
    },
    good_friends:{
        type:Array,
        default:[]
    }
})

module.exports = mongoose.model("user",User,"user");